package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "paper")
public class TestPaper implements Serializable {
    private ObjectId id;    //问卷id
    private String name;   //问卷名称
    private String cover;        //问卷封面
    private String level;           //问卷水平，初中高
    private Integer star;    //问卷星级，2-5
    private Integer isLock = 0; //是否被锁，0解锁，1锁住

    private String reportId; //最新报告


}